<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{{if session._uc_mobile_on == 'True':}}
<html lang="{{=T.accepted_language or 'en'}}" class="no-js" style="width: 400px;>
{{else:}}
<html lang="{{=T.accepted_language or 'en'}}" class="no-js">
{{pass}}
  <head>
    <title>{{=response.title or request.application}}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    {{#------  require CSS and JS files for UcTheme ------}}
{{response.files.append(URL(request.application,'static/plugin_language','uc-aria.css'))}}
{{response.files.append(URL(request.application,'static','plugin_jump_menu/jump-menu.css'))}}


    {{response.files.append(URL(request.application,'static','plugin_layouts/layouts/UcTheme/uc-aria.css'))}}
    {{response.files.append(URL(request.application,'static','plugin_layouts/layouts/UcTheme/style.css'))}}
    {{response.files.append(URL(request.application,'static','plugin_layouts/layouts/UcTheme/custom.css'))}}
    {{response.files.append(URL(request.application,'static','plugin_layouts/layouts/superfish.js'))}}
    {{#------ include web2py specific js code (jquery, calendar, form stuff) ------}}
    {{include 'web2py_ajax.html'}}
  </head>
<body>
<div class="flash">{{=response.flash or ''}}
</div>
<!-- START body-container -->
<div class="ez-mw wrapper layout" id="layout body-container">
  {{#------ Layout 3 from http://www.ez-css.org/layouts ------}}
  <div class="ez-wr">
    <!-- START header-container ####################################-->
    <div class="ez-box header" id="header-container">
      <!-- START LAYOUT 1 - HEADER -->
      <div class="ez-wr">
        <!-- START header-header -->
        <div class="ez-box" id="header-header">
          {{include 'plugin_jump_menu/menu/_site_jump_menu.html'}}
          {{try:}}{{=auth.navbar(action=URL('plugin_uc_janrain','user'))}}{{except:pass}}
        <!-- END header-header -->
        </div>
        <!-- START header-content -->
        <div class="ez-box" id="header-content">
          <!-- start header-background -->
          <div id="header-background">
            <!-- start header-foreground -->
            <div id="header-foreground">
              <!-- START organizational-text-box -->
              <div id="organizational-text-box">
                <!-- START organizational-name -->
                <div id="organizational-name">
                  <h1>
                    {{=A(response.title or '', _href=URL(request.application,'default','index'))}}
                  </h1>
                <!-- END organizational-name -->
                </div>
                <div id="organizational-name-2">
                  <h1>{{=response.subtitle or ''}}</h1>
                <!-- END organizational-name-2 -->
                </div>
                <!-- START organizational-slogan -->
                <div id="organizational-slogan">
                <!-- END organizational-slogan -->
                </div>
              <!-- END organizational-text-box -->
              </div>
              <!-- START logo -->
              <div id="logo">
              <!-- END logo -->
              </div>
            <!-- end header-foreground -->
            </div>
          <!-- end header-background -->
          </div>                
        <!-- END header-content -->
        </div>
        <!-- START header-footer -->
        <div class="ez-box" id="header-footer">
        <!-- END header-footer -->
        </div>
      <!-- END LAYOUT 1 - HEADER -->
      </div>
    <!-- END header-container ###################################### -->
    </div>

    <!-- START statusbar-container #################################-->
    <div id="statusbar-container">
      <!-- START statusbar-->
      <div class="ez-box statusbar" id="statusbar">
        {{#------ superfish menu ------}}
        {{=MENU(response.menu,_class='sf-menu')}}
        <script>
          jQuery(document).ready(function(){
              jQuery('ul.sf-menu').superfish({delay:400});});
        </script>
       {{include 'plugin_language/menu/_site_language_menu.html'}}
      <!-- END statusbar-->
      </div>
    <!-- END statusbar-container ###################################-->
    </div>

    <!-- START content-container ###################################-->
    <!-- Layout 1 -->
    <div class="ez-wr" id="content-container">
      <div class="ez-box" id="content">   
        <!-- START content-header -->
        <div class="ez-box"  id="content-header">
        <!-- END content-header -->
        </div>
        <!-- START content-content -->
        <div class="ez-box" id="content-content">
         {{include}}
         {{include 'plugin_jump_menu/menu/_site_return_to_jump_menu.html'}}
        <!-- END content-content -->
        </div>
        <!-- START content-footer -->
        <div class="ez-box expandable" id="content-footer">
        <!-- END content-footer -->
        </div>
      </div>
    <!-- END content-container ####################################-->
    </div>

    <!-- START footer-container #########################################-->
    <!-- Layout 1 -->
    <div class="ez-wr" id="footer-container">
      <div class="ez-box" id="footer">    
        <div class="ez-box" id="footer-header">
        </div>
        <div class="ez-box" id="footer-content">
          {{=T('Copyright')}} &#169; 2010 -
          {{=T('Powered by')}} <a href="http://www.web2py.com">web2py</a>
        </div>
        <div class="ez-box" id="footer-footer">
          {{include 'plugin_jump_menu/menu/_site_return_to_jump_menu.html'}}    
        </div>
      </div>  
    <!-- END footer-container ##########################################-->
    </div>
  <!-- END layout3 jQuery1510502921659175327_1302965092144?##########################################-->
  </div>
<!-- END body-container ######################################-->
</div>
</body>
</html>
